package com.ssyu.examination.exam.entity;

import java.util.Date;

public class ExamRecords {
	private int id;
	private int userId;
	private int examPlanId;
	private int getPoint;
	private Date submitTime;
	private Date startTime;
	private int isPass;

	private String user__name;
	private String qep__name;
	private int qep__totalPoint;

	// 临时传参
	private int clazzId;
	private int getPoint1;
	private int getPoint2;

	public ExamRecords() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getExamPlanId() {
		return examPlanId;
	}

	public void setExamPlanId(int examPlanId) {
		this.examPlanId = examPlanId;
	}

	public int getGetPoint() {
		return getPoint;
	}

	public void setGetPoint(int getPoint) {
		this.getPoint = getPoint;
	}

	public Date getSubmitTime() {
		return submitTime;
	}

	public void setSubmitTime(Date submitTime) {
		this.submitTime = submitTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public String getIsPassStr() {
		if (isPass == 1) {
			return "通过";
		} else if (isPass == 2) {
			return "未通过";
		} else if (isPass == 3) {
			return "未提交或超时";
		} else {
			return "作弊";
		}
	}

	public int getIsPass() {
		return isPass;
	}

	public void setIsPass(int isPass) {
		this.isPass = isPass;
	}

	public String getUser__name() {
		return user__name;
	}

	public void setUser__name(String user__name) {
		this.user__name = user__name;
	}

	public String getQep__name() {
		return qep__name;
	}

	public void setQep__name(String qep__name) {
		this.qep__name = qep__name;
	}

	public int getQep__totalPoint() {
		return qep__totalPoint;
	}

	public void setQep__totalPoint(int qep__totalPoint) {
		this.qep__totalPoint = qep__totalPoint;
	}

	public int getClazzId() {
		return clazzId;
	}

	public void setClazzId(int clazzId) {
		this.clazzId = clazzId;
	}

	public int getGetPoint1() {
		return getPoint1;
	}

	public void setGetPoint1(int getPoint1) {
		this.getPoint1 = getPoint1;
	}

	public int getGetPoint2() {
		return getPoint2;
	}

	public void setGetPoint2(int getPoint2) {
		this.getPoint2 = getPoint2;
	}

}
